dropboxRevokeSharedLink
Type
command
Summary
Revoke a shared link.
Syntax
dropboxRevokeSharedLink <pAccessToken>, <pURL>, [<pCallback>]
Description
Note that even after revoking a shared link to a file, the file may be accessible if there are shared links leading to any of the file parent folders. To list all shared links that enable access to a specific file, you can use the list_shared_links with the file as the ListSharedLinksArg.path argument.
If the callback parameter is not empty the request will be asynchronus and when complete the callback will be sent to the object that accessed the API. The callback will be sent with three parameters:
- The request ID which will be the value of the it variable after calling the command
- The HTTP response code
- The data returned which will be the same data as documented for the it variable in a synchronous request.
Parameters
Name | Type | Description |
---|---|---|
pAccessToken | An OAuth2 Access token to access the user's account | |
pURL | URL of the shared link. | |
pCallback | The handler to call when the request is complete. If empty the command will block until complete. |